package twel.probenprophet.swing.ui;

import java.awt.EventQueue;

import javax.enterprise.event.Observes;
import javax.inject.Inject;

import org.jboss.weld.environment.se.events.ContainerInitialized;

public class ProbenprophetApplication {

	@Inject
	private ProbenprophetFrame probenprophetFrame;

	void startup(@Observes ContainerInitialized containerInitialized) {
		EventQueue.invokeLater(new Runnable() {

			@Override
			public void run() {
				probenprophetFrame.init();
			}
		});
	}
}
